<template>
	<view class="version" >
		<view class="logo">
			<image class="logo-img" src="../../../static/image/icon-logo.png" mode=""></image>
			
		</view>
		<view class="uni-title title">当前版本：V{{version}}</view>
		
		<div class="qrcode">
			<view class="qrcode-title">APP二维码</view>
			<image src="../../../static/image/qrcode.jpg" style="width:300px;height: 330px;"></image>
		</div>
		
	</view>
</template>

<script>
	export default{
		data () {
			return {
				version:'',
				windowHeight:'1000px'
			}
		},
		onLoad() {
			// 检查更新  
			plus.runtime.getProperty(plus.runtime.appid,(inf)=>{  
				let  wgtVer =inf.version
				this.version = wgtVer
			});  
		}
	}
</script>

<style>
	.version{
		width: 100%;
		background-color: #fff;
		padding-top: 100upx;
	}
	.logo{
		width: 200upx;
		height: 200upx;
		margin: 0 auto;
		
	}
	.qrcode{
		width:100%;
		margin: 0 auto;
		text-align: center;
	}
	.qrcode-title{
		margin:50upx 0 30upx;
		border-top: #F1F1F1 15upx solid;
		text-align: center;
	}
	.logo-img{
		width: 100%;
		height: 100%;
	}
	.title{
		text-align: center;
		
	}
</style>